#pragma once
#include "scenenode.h"
#include "OBJMesh.h"

class CubeRobot : public SceneNode {
public:
	CubeRobot(void);
	~CubeRobot(void){};
	virtual void Update(float msec);

	static void CreateCube() {
		OBJMesh*m = new OBJMesh();
		m->LoadOBJMesh("../../Meshes/cube2.obj");
		cube = m;
	}
	static void DeleteCube(){ 
		delete cube;
		cube = NULL;
	}

protected:
	static Mesh* cube;
	SceneNode* head;
	SceneNode* leftArm;
	SceneNode* rightArm;
};